#ifndef TGA_HPP
#define TGA_HPP

#include "cor.hpp"
#include <cstdio>

class Tga {
public:
	Tga(const unsigned int,const unsigned int);
	~Tga(void);

	unsigned int getAltura(void) const;
	unsigned int getLargura(void) const;
	

	void setAltura(const unsigned int);
	void setLargura(const unsigned int);
	void setPixel(unsigned int,unsigned int,const Cor&);

	void salvarArquivo(const char*);
	
private:
	unsigned int altura,largura,size, line_size;
	char* dados;
};

#endif
